package cn.zwx.common.canal.enums;

/**
 * @author zhangwenxue
 */
public enum CanalCodeEnum {


    /**
     *  初始化canal异常
     **/
    INIT_CANAL_ERROR(90001,"%s"),
    ;

    private final int code;

    private final String desc;

    CanalCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }


    public String getDesc() {
        return desc;
    }

}
